package com.cloud.service.impl;

import com.cloud.dao.TOrderMapper;
import com.cloud.entity.TOrder;
import com.cloud.service.OrderHandler;
import org.springframework.core.annotation.Order;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;


@Service
public class OrderHandlerImpl implements OrderHandler {

    @Resource
    TOrderMapper TOrderMapper;

    @Override
    public void createOrder(TOrder TOrder) {
        TOrderMapper.insert(TOrder);
    }

}
